import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { NgZorroAntdModule } from 'ng-zorro-antd';
import { AppComponent } from './app.component';
import { headerComponent } from './header/header.component';
import {AppRoutingModule} from "./app-routing.module";
import {UseComponent} from "./manage/use/use.component";
import {StoreComponent} from "./manage/store/store.component";
import {MemberService} from "./myService/service.component";
import {BookComponent} from "./control/book/book.component";
import {HistoryComponent} from "./control/history/history.component";
import {DetailComponent} from "./control/detail/detail.component";
import {AllComponent} from "./manage/all/all.component";
import {TurnComponent} from "./control/form/form.component";
import {PrepService} from "./myService/test.component";
import { BookChildComponent } from './control/book/book-child/book-child.component';


@NgModule({
  declarations: [
    AppComponent,
    headerComponent,
    UseComponent,
    StoreComponent,
    BookComponent,
    HistoryComponent,
    DetailComponent,
    AllComponent,
    TurnComponent,
    BookChildComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpClientModule,
    BrowserAnimationsModule,
    NgZorroAntdModule.forRoot(),
    AppRoutingModule
  ],
  providers:[
    MemberService,
    PrepService
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }
